package org.gavin.attribute;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "video.recommend",ignoreInvalidFields = true)
public class RecommendAttribute {

    private ViewCount view;

    @Data
    public static class ViewCount{
        private Integer top;
        private Integer likes;
        private Integer news;
        private Integer location;
        private Integer total;
        private Long history;
    }
}


